package presentation;

import formatters.*;
import parsers.InputParser;

public class DateElement extends PresentationElement {

    @Override
    public void acceptView(ViewFormatter f) {
        f.formatDate(this);
    }

    @Override
    public void acceptEdit(EditFormatter f) {
        f.formatDate(this);
    }

    @Override
    public void acceptInput(InputParser p) {
        p.parseDate(this);
    }

    @Override
    public void setParam(String param, Object value) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public Object getParam(String param) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

}
